// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  devtools: { enabled: true },
  ssr: false,
  build: {
    transpile: [
      ctx => (ctx.isServer ? 'pdfjs-dist' : false),
      ctx => (ctx.isServer ? '@vue-pdf-viewer/viewer' : false)
    ]
  }
})
